Advanced Debugging
About AdvDbg Consult Train Services Products Tools Community Contact  
欢迎光临 高端调试 登录 | 注册 | FAQ
 
  ACPI调试
Linux内核调试
Windows内核调试
 
  调试战役
调试原理
新工具观察
 
  Linux
Windows Vista
Windows
 
  Linux驱动
WDF
WDM
 
  PCI Express
PCI/PCI-X
USB
无线通信协议
 
  64位CPU
ARM
IA-32
  CPU Info Center
 
  ACPI标准
系统认证
Desktop
服务器
 
  Embedded Linux
嵌入式开发工具
VxWorks
WinCE
嵌入式Windows
 
  格蠹调试套件(GDK)
  格蠹学院
  小朱书店
  老雷的微博
  《软件调试》
  《格蠹汇编》
  《软件调试(第二版)》
沪ICP备11027180号-1

Windows内核

帖子发起人: merry   发起时间: 2009-03-28 20:21 下午   回复: 3

Print Search
帖子排序:    
   2009-03-28, 20:21 下午
merryzhao 离线,最后访问时间: 2017/2/21 12:41:06 merry

发帖数前25位
注册: 2008-09-26
发 贴: 61
Q:请问如何对kifastcallentry下断点,并追踪到其进入kisystemservice的过程?
Reply Quote

一开始,我用Windbg通过attach'记事本'程序,在kifastcallentry的入口地址(80865930)下断点, 想在'记事本'程序系统调用时跟踪到内核调用,结果得到如下错误提示:
0:001> bp 80865930
0:001> bl
 0 eu             0001 (0001) (kifastcallentry)
 1 e 80865930     0001 (0001)  0:****
0:001> g
Unable to insert breakpoint 1 at 80865930, Win32 error 0n998
    "内存分配访问无效。"

于是,换一个方法,使用内核调试并下断点,想试一试,又得到如下错误提示:
kkd> bp 80865930
     ^ Operation not supported by current debuggee error in 'bp 80865930'

查了一下windbg帮助,这些命令可以在内核调试中使用,但是该如何对kifastcallentry下断点,并追踪到进入kisystemservice的过程,我不太清楚.

Q:请问如何对kifastcallentry下断点,并追踪到其进入kisystemservice的过程?谢谢!


IP 地址: 已记录   报告
   2009-03-28, 22:44 下午
MJ0011 离线,最后访问时间: 2009/12/24 22:33:41 MJ0011

发帖数前10位
注册: 2008-04-24
发 贴: 112
Re: Q:请问如何对kifastcallentry下断点,并追踪到其进入kisystemservice的过程?
Reply Quote
双机调试或者使用softice
IP 地址: 已记录   报告
   2009-04-09, 09:06 上午
merryzhao 离线,最后访问时间: 2017/2/21 12:41:06 merry

发帖数前25位
注册: 2008-09-26
发 贴: 61
Re: Q:请问如何对kifastcallentry下断点,并追踪到其进入kisystemservice的过程?
Reply Quote
Host OS:Winxp sp2
Ghost OS:Winxp sp2

我使用PC+vmware双机调试的方式准备对虚拟机中OS的KiFastCallEntry函数下断点,但发现在windbg连接Ghost后,不能找到KiFastCallEntry函数(如下),但是在Host做local debug时,却有nt!KiFastCallEntry。

kd> x nt!ki*
804fe228 nt!KiDeliverApc ()
804fe574 nt!KiIpiServiceRoutine ()
8053d050 nt!KiAcquireSpinLock ()
8053d060 nt!KiReleaseSpinLock ()
8054129c nt!KiCoprocessorError ()
80541450 nt!Kii386SpinOnSpinLock ()
80541cb2 nt!KiUnexpectedInterrupt ()
80541dc0 nt!KiDispatchInterrupt ()
8054caf8 nt!KiEnableTimerWatchdog ()
80553f20 nt!KiBugCheckData ()


Q:请问这是什么原因?谢谢!
IP 地址: 已记录   报告
   2009-04-09, 10:50 上午
WANGyu 离线,最后访问时间: 2012/9/10 3:34:00 王宇

发帖数前10位
男
注册: 2007-05-08
发 贴: 306
Re: Q:请问如何对kifastcallentry下断点,并追踪到其进入kisystemservice的过程?
Reply Quote
1. 是符号有问题

2. 其他的解决方法就是直接断那个地址

0: kd> rdmsr 176
msr[176] = 00000000`80541510

0: kd> bp 00000000`80541510

0: kd> bl
0 e 80541510 0001 (0001) nt!KiFastCallEntry
IP 地址: 已记录   报告
高端调试 » 内核探秘 » Windows内核 » Q:请问如何对kifastcallentry下断点,并追踪到其进入kisystemservice的过程?

 
Legal Notice Privacy Statement Corporate Governance Corporate Governance
(C)2004-2020 ADVDBG.ORG All Rights Reserved.